<!DOCTYPE html>
<title>This window will close when it loads</title>
<script>
  window.close();
</script>